using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;

/// <summary>
/// Summary description for WebSurveyManager
/// </summary>
public class WebSurveyManager
{
    static WebSurveyManager instance;

    public static WebSurveyManager GetInstance()
    {
        if (instance == null)
        {
            instance = new WebSurveyManager();
        }

        return instance;
    }

    private string pushpinDescriptionTemplate;

    private WebSurveyManager()
    {
        this.pushpinDescriptionTemplate = File.ReadAllText(System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "PushpinSurveyDescription.template"));
    }

    public string PushpinDescriptionTemplate
    {
        get { return this.pushpinDescriptionTemplate; }
    }
}
